/**
 * 
 */
package kr.co.insoft.auth.repository.organization;

import java.util.List;

import kr.co.insoft.auth.model.organization.OrganizationUserEntityModel;
import kr.co.insoft.framework.exceptions.RepositoryException;

/**
 * @author IN-SOFT Inc. GoodwillDD(sylee@in-soft.co.kr)
 * 
 */
public interface OrganizationUserRepository {
	/**
	 * 사용자 - 조직 매핑
	 * 
	 * organizationUserEntityModel validation
	 * 
	 * @param organizationEntityModel
	 * @throws RepositoryException
	 */
	public void createOrganizationUser(
			OrganizationUserEntityModel organizationUserEntityModel)
			throws RepositoryException;

	/**
	 * 사용자 조직 목록
	 * 
	 * @param organizationEntityModel
	 * @throws RepositoryException
	 */
	public List<OrganizationUserEntityModel> getUserOrgs(Long userid)
			throws RepositoryException;
}
